package com.john.booter.exception;

import org.springframework.http.HttpStatus;


/**
 * 返回结果基类
 */
public class RestResult {
	private HttpStatus status;
    private String message;
    
    public RestResult() {
	}

	public RestResult(HttpStatus status, String message) {
		super();
		this.status = status;
		this.message = message;
	}

	public HttpStatus getStatus() {
		return status;
	}

	public void setStatus(HttpStatus status) {
		this.status = status;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

}
